92924e8ccc8716a961bf676ed22962b0cf30c714,plugin/src/androidTest/java/net/grandcentrix/thirtyinch/plugin/TiPluginTest.java,TiPluginTest,recreate,#,46
Before Change
assertNotEquals(first, second);
Espresso.onView(withId(R.id.helloworld_text))
.check(matches(isDisplayed()));
}
}
After Change
// make sure the attached presenter filled the UI
Espresso.onView(withId(R.id.helloworld_text))
.check(matches(allOf(isDisplayed(), withText("Hello World 1"))));
// restart the activity
instrumentation.runOnMainSync(new Runnable() {